<?php
class baseAction extends Action {
	public function __construct(){
		$c = D("ju_class");
		$class = $c->where("p_id=0")->select();
		$this->assign("class",$class);
	}
	
	public function taobao_client()
	{
		vendor('Taobaotop.TopClient');
		vendor('Taobaotop.RequestCheckUtil');
		vendor('Taobaotop.Logger');
		$tb_top = new TopClient;
		$tb_top->appkey = '12587554';
		$tb_top->secretKey = '744986c5b0db2bd869c4f22e9ea2b114';
		return $tb_top;
	}	
}

?>